package com.woniuxy.service.impl;

import com.woniuxy.dao.RbacPermDao;
import com.woniuxy.service.RbacPermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 22/09/06/0006 15:44
 * @Component: 成都蜗牛学苑
 **/
@Service
public class RbacPermServiceImpl implements RbacPermService {
    @Autowired
    RbacPermDao rbacPermDao;
    @Override
    public Set<String> findPermBySetRoles(String username) {
        return rbacPermDao.findPermBySetRoles(username);
    }
}
